<template>
<div class="detail">
  <h1>{{title}}</h1>
  <slot></slot>
  <slot name="detail"></slot>
</div>
</template>

<script>
export default {
  name: "Item",
  props:['title']
}
</script>

<style scoped>
.detail{
  width: 200px;
  height: 400px;
  background-color: #ccc;
}
</style>